﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BoneImp {
	class FromEntry {
		public Animation animation;
		public List<ToEntry> toEntries = new List<ToEntry>();

		public FromEntry(Animation from) {
			this.animation = from;
		}

		internal ToEntry FindToEntry(Animation to) {
			foreach (ToEntry entry in toEntries) {
				if (entry.animation == to) {
					return entry;
				}
			}
			return null;
		}

		internal void AddToEntry(ToEntry toEntry) {
			toEntries.Add(toEntry);
		}
	}
}
